package com.cx.mall.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cx.mall.user.entity.UserInfo;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @version 1.0
 * @Description TODO
 * @Author ke
 * @Since 2025/6/10 16:11
 */
public interface IUserInfoService extends IService<UserInfo> {
    /**
     * 按登录名查询用户信息
     */
    UserInfo queryByUsername(String username);
    /**
     * 按注册时间和状态查询用户信息
     */
    List<UserInfo> queryByCreateTimeAndStatus(LocalDateTime start, LocalDateTime end, Integer status);

}
